package com.cskaoyan.service;

import com.cskaoyan.bean.Cart;
import com.cskaoyan.bean.wx.vo.CartCheckOutBO;
import com.cskaoyan.bean.wx.vo.CartCheckOutVO;
import com.cskaoyan.bean.wx.vo.CartIndexVO;

import java.util.List;

/**
 * @PROJECT_NAME: market_34th
 * @DESCRIPTION:
 * @Author: qiu
 * @DATE: 2021/10/22 10:41
 */
public interface CartService {

    void update(Cart cart);

    CartIndexVO getIndex();

    CartIndexVO checked(Integer ischecked, List<Integer> productIds);

    int add(Cart cart);

    int fastadd(Cart cart);

    Integer goodscount();

    CartIndexVO delete(List<Integer> productIds);

    CartCheckOutVO checkout(CartCheckOutBO bo);
}
